/*
 * Created on Feb 22, 2007
 */
package sandboxmv.map;

import ecologylab.game2d.terrain.Wall;

/**
 * A wall with constraints and added data.
 * @author Zach Toups (toupsz@gmail.com)
 */
public class Surface extends Wall
{
    @xml_attribute boolean floor;
    @xml_attribute double friction = .04;

    /**
     * @return the friction
     */
    public double getFriction()
    {
        return friction;
    }

    /**
     * @param friction the friction to set
     */
    public void setFriction(double friction)
    {
        this.friction = friction;
    }

    /**
     * 
     */
    public Surface()
    {
        // TODO Auto-generated constructor stub
    }

    /**
     * @param x1
     * @param y1
     * @param x2
     * @param y2
     */
    public Surface(double x1, double y1, double x2, double y2)
    {
        super(x1, y1, x2, y2);
        // TODO Auto-generated constructor stub
    }

}
